package ModelLayer;


/**
 * Write a description of class Copy here.
 * 
 * @author (Danny Melsen) 
 * @version (07.11.12)
 */
public class Copy
{
    // instance variables - replace the example below with your own
    private int serieNr;
    private int acquisitionDate;
    private double acquisitionPrice;
    private static int nextNo = 0;


    /**
     * Constructor for objects of class Copy
     */
    public Copy(int serieNr, int acquisitionDate, double acquisitionPrice)
    {
       nextNo++;
       this.serieNr=nextNo;
       this.acquisitionDate=acquisitionDate;
       this.acquisitionPrice=acquisitionPrice;
    }
    
    /**
     * set serieNr
     */
    public void setSerieNr(int SerieNr)
    {
        this.serieNr=serieNr;
    }
    
     /**
     * get serieNr
     */
    public int getSerieNr()
    {
        return serieNr;
    }
    
    /**
     * set acquisitionDate
     */
    public void setAcquisitionDate(int acquisitionDate)
    {
        this.acquisitionDate=acquisitionDate;
    }
    
    /**
     * get acquisitionDate
     */
    public int acquisitionDate()
    {
        return acquisitionDate;
    }
    
    /**
     * set acquisitionPrice
     */
    public void acquisitionPrice(double acquisitionPrice)
    {
        this.acquisitionPrice=acquisitionPrice;
    }
    
    /**
     * get acquisitionPrice
     */
    public double acquisitionPrice()
    {
        return acquisitionPrice;
    }

}
